package org.lojzes.lojzesframework.dao;

import java.util.List;

import org.lojzes.lojzesframework.annotation.Arguments;
import org.lojzes.lojzesframework.annotation.PreDao;
import org.lojzes.lojzesframework.annotation.ReturnType;
import org.test.model.Student;

@PreDao
public interface MyPreDao {
	@Arguments({ "student" })
	public void add(Student student);

	@Arguments("id")
	public String getStudentNameById(Integer id);

	@Arguments("id")
	public Student getStudentById(Integer id);

	@ReturnType(Student.class)
	public List<Student> getStudents();
}
